Sets the binary value of an element.
public bool SetBinaryValue(
DicomElement element,
byte[] value,
int length
)
Public Overloads Function SetBinaryValue( _
ByVal element As DicomElement, _
ByVal value() As Byte, _
ByVal length As Integer _
) As Boolean
public:
bool SetBinaryValue(
DicomElement^ element,
array<byte>^ value,
int length
)
element
An item in the Data Set.
value
Pointer to a buffer that contains the binary value to set.
length
Value that represents the length, in bytes, of the buffer you allocated.
true if the binary value of the Data Element was set successfully. false if could not set the binary value of the Data Element.
This method overwrites the value of the Data Element. The Value Length of the Data Element is then equal to length.
SetBinaryValue(DicomElement,IntPtr,Int32) Method
SetStringValue(DicomElement,string) Method
SetStringValue(DicomElement,string,DicomCharacterSetType) Method
SetStringValue(DicomElement,string[]) Method
SetStringValue(DicomElement,string[],DicomCharacterSetType) Method
SetStringValuePtr(DicomElement,IntPtr,int) Method
SetStringValuePtr(DicomElement,IntPtr,int,DicomCharacterSetType) Method
SetShortValue(DicomElement,Int16[],Int32) Method
SetIntValue(DicomElement,Int32[],Int32) Method
SetFloatValue(DicomElement,Single[],Int32) Method
SetDoubleValue(DicomElement,Double[],Int32) Method
SetDateValue(DicomElement,DicomDateValue[]) Method
SetTimeValue(DicomElement,DicomTimeValue[]) Method
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document